/**
 * 
 */
package com.ubo.util;

/**
 * @author saludegu
 * 
 */
public class Duo<A, B> {

	/**
	 * Premier element du duo.
	 */
	protected A mFirstElem;

	/**
	 * Second élément du duo.
	 */
	protected B mSecondElem;

	/**
	 * 
	 * Constructor
	 * 
	 * @param firstElem
	 * @param secondElem
	 */
	public Duo(A firstElem, B secondElem) {
		mFirstElem = firstElem;
		mSecondElem = secondElem;
	}

	/**
	 * Getter du premier Element.
	 * 
	 * @return
	 */
	public A getA() {
		return mFirstElem;
	}

	/**
	 * Getter du second Element.
	 * 
	 * @return
	 */
	public B getB() {
		return mSecondElem;
	}
}
